package com.cql.pojo;

import java.io.Serializable;
import java.time.LocalDateTime;


public class PatientsDetail implements Serializable {

    // 主键
    private Integer id;
    // 就诊类型
    private String visit;
    // 入院科室
    private String department;
    // 主管医生
    private String doctor;
    // 入院时间
    private LocalDateTime indate;
    // 住院号(yyyymmdd时间戳)
    private String inno;
    // 床号
    private Integer bedno;
    // 疾病诊断
    private String disease;
    // 其他诊断
    private String otherdisease;
    // 陈述人
    private String witness;
    // 可靠程度
    private String reliable;
    // 记录时间
    private LocalDateTime recordtime;
    // 其他诊断
    private String otherdis;
    // 患者ID(关联患者表的主键)
    private Integer pid;
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;

    public PatientsDetail(Integer id, String visit, String department, String doctor, LocalDateTime indate, String inno, Integer bedno, String disease, String otherdisease, String witness, String reliable, LocalDateTime recordtime, String otherdis, Integer pid, String createBy, LocalDateTime createTime, String updateBy, LocalDateTime updateTime) {
        this.id = id;
        this.visit = visit;
        this.department = department;
        this.doctor = doctor;
        this.indate = indate;
        this.inno = inno;
        this.bedno = bedno;
        this.disease = disease;
        this.otherdisease = otherdisease;
        this.witness = witness;
        this.reliable = reliable;
        this.recordtime = recordtime;
        this.otherdis = otherdis;
        this.pid = pid;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }

    public PatientsDetail() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVisit() {
        return visit;
    }

    public void setVisit(String visit) {
        this.visit = visit;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDoctor() {
        return doctor;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public LocalDateTime getIndate() {
        return indate;
    }

    public void setIndate(LocalDateTime indate) {
        this.indate = indate;
    }

    public String getInno() {
        return inno;
    }

    public void setInno(String inno) {
        this.inno = inno;
    }

    public Integer getBedno() {
        return bedno;
    }

    public void setBedno(Integer bedno) {
        this.bedno = bedno;
    }

    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public String getOtherdisease() {
        return otherdisease;
    }

    public void setOtherdisease(String otherdisease) {
        this.otherdisease = otherdisease;
    }

    public String getWitness() {
        return witness;
    }

    public void setWitness(String witness) {
        this.witness = witness;
    }

    public String getReliable() {
        return reliable;
    }

    public void setReliable(String reliable) {
        this.reliable = reliable;
    }

    public LocalDateTime getRecordtime() {
        return recordtime;
    }

    public void setRecordtime(LocalDateTime recordtime) {
        this.recordtime = recordtime;
    }

    public String getOtherdis() {
        return otherdis;
    }

    public void setOtherdis(String otherdis) {
        this.otherdis = otherdis;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "PatientsDetail{" +
                "id=" + id +
                ", visit='" + visit + '\'' +
                ", department='" + department + '\'' +
                ", doctor='" + doctor + '\'' +
                ", indate=" + indate +
                ", inno='" + inno + '\'' +
                ", bedno=" + bedno +
                ", disease='" + disease + '\'' +
                ", otherdisease='" + otherdisease + '\'' +
                ", witness='" + witness + '\'' +
                ", reliable='" + reliable + '\'' +
                ", recordtime=" + recordtime +
                ", otherdis='" + otherdis + '\'' +
                ", pid=" + pid +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
